package com.dao;

import com.model.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 编写者：王懿宸
 * 编写时间：2019-5-29
 * 类模块描述：查询及相关增删改
 */
@Mapper
public interface RoleMapper {
    Role selectByPrimaryKey(Integer rid);
    List<Role> getIsBegin();
    List<Role> getAll();
    int delRole(Integer rid);
    int insertRole(Role rolemodel);
    int updateRole(Role rolemodel);
}
